-
Couldn't load subscription status.
- Fork 88
Proposal: Rewrite SRA_RUNINFO_TO_FTP as native process #337
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Conversation
Signed-off-by: Ben Sherman <[email protected]>
|
Warning Newer version of the nf-core template is available. Your pipeline is using an old version of the nf-core template: 3.0.2. For more documentation on how to update your pipeline, please see the nf-core documentation and Synchronisation documentation. |
|
Just a POC to demonstrate how to rewrite a simple process as an
execprocess.The
SRA_RUNINFO_TO_FTPprocess just transforms a metadata file and doesn't make any network requests, so it can be written purely in Nextflow pretty easily. That way you don't have to spin up a Python job just to do some metadata wrangling.I think most people don't realize you can do this, due to the (historically) poor developer experience and lack of standard library documentation. Between the new strict syntax and upcoming standard library docs, I'm hoping people might find this approach more appealing.
A further optimization would be to not even write the samplesheet to a TSV file -- just emit the samplesheet as a list of maps.